package com.cangshi.exception;

/**
 * Created by Eoly on 2017/4/6.
 */
public class JSONException extends RuntimeException{

    private Integer error;

    public JSONException(Integer error, String message) {
        super(message);
        this.error = error;
    }

    public JSONException(String message) {
        super(message);
    }

    public Integer getError() {
        return error;
    }

    public void setError(Integer error) {
        this.error = error;
    }
}
